/ Assembly List / LJCNetCommon / CodeTokenizer / SetTokens

Namespace - LJCNetCommon


Parameters
text - The text value.

Syntax

C#
public Void SetTokens(String text)

Sets the Tokens value, split on blanks. (E)

Example

C#
using LJCNetCommon;

var tokenizer = new CodeTokenizer();
string text = " public class ClassName()";
tokenizer.SetTokens(text);
// Array tokenizer.Tokens has three elements.

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.